package com.soo.hoo.admin.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.soo.hoo.core.model.BaseEntry;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 礼簿封面图片
 * </p>
 *
 * @author 杨燚
 * @since 2024-04-29
 */
@Getter
@Setter
@TableName("t_sys_book_cover")
@Schema(name = "SysBookCover", description = "礼簿封面图片")
public class SysBookCover extends BaseEntry {

    @Schema(description = "唯一标识")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "封面名称")
    private String coverName;

    @Schema(description = "封面图片文件")
    private Long coverFileId;

    @Schema(description = "封面访问路径")
    private String coverPath;
}
